package com.sina.shop.dao.goods;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.goods.Goods;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description: 商品管理
 * 段浩杰   2018-02-05-11:21
 */
public interface GoodsDao extends BaseDao {

    //得到商品列表  用于查询
    List<Goods> getGoodsList(Goods goods);

    Long getGoodsCount(Goods goods);

    //根据id删除商品
    Integer deleteGoods(Long id);
}
